package com.jxc.entity;

/**
 * Staffandmodule entity. @author MyEclipse Persistence Tools
 */

public class Staffandmodule implements java.io.Serializable {

	// Fields

	private Integer id;
	private Submodule submodule;
	private Staff staff;
	private String sort;

	// Constructors

	/** default constructor */
	public Staffandmodule() {
	}

	/** full constructor */
	public Staffandmodule(Submodule submodule, Staff staff, String sort) {
		this.submodule = submodule;
		this.staff = staff;
		this.sort = sort;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Submodule getSubmodule() {
		return this.submodule;
	}

	public void setSubmodule(Submodule submodule) {
		this.submodule = submodule;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public String getSort() {
		return this.sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

}